﻿using Terraria;
using Terraria.ModLoader;

namespace HardcoreGame.Content.Buffs
{
    public class Hunger : ModBuff
    {
        public override void SetStaticDefaults()
        {
            Main.debuff[Type] = true;
            Main.buffNoTimeDisplay[Type] = true;
        }
        public override void Update(Player player, ref int buffIndex)
        {
            player.moveSpeed -= 0.35f;
            player.GetDamage(DamageClass.Generic) -= 0.35f;
            player.pickSpeed += 0.35f;
            player.lifeRegen -= 3;
        }
    }
}
